package com.shadow.mall.wms.api;

import com.shadow.mall.wms.domain.PickDTO;
import com.shadow.mall.wms.domain.PickGoodsRequest;
import com.shadow.mall.common.core.JsonResult;

/**
 * 仓储系统api
 *
 *
 * @version 1.0
 */
public interface WmsApi {

    /**
     * 捡货
     *
     * @param request
     * @return
     */
    JsonResult<PickDTO> pickGoods(PickGoodsRequest request);

    /**
     * 取消捡货
     *
     * @param orderId
     * @return
     */
    JsonResult<Boolean> cancelPickGoods(String orderId);

}
